/*
Author: JAG
Date: 11.3.23
Purpose: To manage the do files for the analysis of data for the charcoal ban paper
*/

* 0. preamble ------------------------------------------------------------------ 
clear all

// set directory

if "`c(username)'" == "alixgarj" {
	global projectfolder "C:\Users\alixgarj\Dropbox\CHARCOAL DATA KENYA UGANDA"
}


global today : di %tdCCYYNNDD date(c(current_date), "DMY")
global data "${projectfolder}\Other data"
global output "${projectfolder}\Latex"
global tables "C:\Users\alixgarj\Dropbox\Apps\Overleaf\Charcoal Kenya\Tables"
global figures "C:\Users\alixgarj\Dropbox\Apps\Overleaf\Charcoal Kenya\Figures"
global proj_log "${projectfolder}\Do files\Do Land Use\Logs"
global dofiles "${projectfolder}\Do files\Do Land Use"
adopath + "${dofiles}\"



cd "${projectfolder}"



// files

	local sumstats							0
	local regressions						0
	local prices							0
	local mcregs							0
	local imports							0
	

	
if `sumstats' {	
	include	"${dofiles}\1_SummaryStatisticsReplication.do"
}
if `regressions' {	
	include	"${dofiles}\2_RegressionsSimpleReplication.do"
}

if `prices' {
    include	"${dofiles}\3_PricesReplication.do"
}

if `mcregs' {
    include	"${dofiles}\4_MCRegressionsReplication.do"
}

if `imports' {
    include	"${dofiles}\5_ImportsReplication.do"
}
